sum all the items in a dictionary